<div class="horizontal-product">
<?php if ($heading_title): ?>
  <h2><?php echo $heading_title; ?></h2>
<?php endif ?>
  <div class="row">

    <?php foreach ($categories as $category) { ?>
    <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
      <div class="white-bg">
        <h3 class="product-title"><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></h3>
        <?php foreach ($category['products'] as $product) { ?>
        <div class="product-inner">
          <div class="image"><a href="<?php echo $product['href']; ?>"><img class="img-responsive" src="<?php echo $product['thumb']; ?>"></a></div>
          <div class="info">
            <h5 class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></h5>
            <?php if ($product['price']) { ?>
            <div class="price">
              <span class="price-new"><?php echo $product['special'] ? $product['special'] : $product['price']; ?></span>
              <?php if ($product['special']) { ?><span class="price-old"><?php echo $product['price']; ?></span><?php } ?><br>
  <!--             <?php if ($product['tax']) { ?>
              <span class="price-tax"><?php echo $text_tax; ?> <?php echo $product['tax']; ?></span>
              <?php } ?> -->
              <!-- <button type="button" onclick="cart.add('<?php echo $product['product_id']; ?>');"><i class="fa fa-shopping-cart"></i> <span><?php echo $button_cart; ?></span></button> -->
            </div>
            <?php } ?>
            <!-- <a href="<?php echo $product['href']; ?>"><i class="fa fa-arrow-circle-o-right"></i></a> -->
          </div>
        </div>
        <?php } ?>
      </div>
    </div>
    <?php } ?>
  </div>
</div>
